
#ifndef CHATPROJECT_LOGIN_H
#define CHATPROJECT_LOGIN_H

#include <QDialog>

class LoginPrivate;
/**
 * @brief   登录界面
 * @author  turbo
 */
class Login : public QDialog
{
    Q_OBJECT
    Q_DECLARE_PRIVATE(Login)
public:
    explicit Login(QWidget *parent = nullptr);
    ~Login() override;

signals:
    void sig_register();
    void sig_login();

protected:
    void btnRegisterClicked();
    void btnLoginClicked();
    void showHideActionTriggered();

private:
    LoginPrivate*        d_ptr;     ///<  登录界面的私有对象，负责界面对象的构造和样式
};


#endif //CHATPROJECT_LOGIN_H
